package com.ncut.trade;

import com.ncut.api.config.DefaultFeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @FileName TradeApplication
 * @Description
 * @Author Sword
 * @date 2025-08-06
 **/

@EnableScheduling
@EnableTransactionManagement
@SpringBootApplication
@MapperScan("com.ncut.trade.mapper")
@EnableFeignClients(basePackages = "com.ncut.api.client", defaultConfiguration = DefaultFeignConfig.class)
public class TradeApplication {
    public static void main(String[] args) {
        SpringApplication.run(TradeApplication.class, args);
    }
}
